Skip to content

[lora_conversion] Enhance key handling for OneTrainer components in LORA conversion utility (#11441) #11487

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

iamwavecut
Copy link
Contributor

@iamwavecut iamwavecut commented May 3, 2025

What does this PR do?

Fixes #11441

I tried to keep changeset somehow minimal, while doing it the same way as it's already done.

Before submitting

Who can review?

@sayakpaul would be the most relevant I suppose.

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Copy link
Member

@sayakpaul sayakpaul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing, thanks! I just ran the integration LoRA tests for Flux and they all pass.

@iamwavecut iamwavecut force-pushed the fix-onetrainer-lora-conversion branch from 41d6fad to 717d6e4 Compare May 6, 2025 12:17
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
@iamwavecut
Copy link
Contributor Author

iamwavecut commented May 6, 2025

@sayakpaul thanks, for the suggestion, committed. Also rebased on a main branch.

@sayakpaul
Copy link
Member

Amazing, thank you!

Will merge once the CI is green.

@sayakpaul sayakpaul merged commit 7937166 into huggingface:main May 6, 2025
12 checks passed
@iamwavecut iamwavecut deleted the fix-onetrainer-lora-conversion branch May 6, 2025 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants